package org.example.oop

object test{
    def main(args: Array[String]): Unit = {
      val point = new Point(10, 20)
      point.move(2,3)
      println("---------------")
      val p1 = new Point(2, 3)
      val p2 = new Point(2, 4)
      val p3 = new Point(3, 3)

      println(p1.isNotEqual(p2))
      println(p1.isNotEqual(p3))
      println(p1.isNotEqual(2))
    }
  }